package cn.dengta.webapp.im.service;

import cn.dengta.common.model.Messager;
import cn.dengta.webapp.base.service.RemoteBaseService;
import cn.dengta.webapp.im.entity.Group;
import cn.dengta.webapp.im.entity.GroupVerifyLog;

public interface RemoteGroupService extends RemoteBaseService<Group, Long> {

	Messager<String> verify(GroupVerifyLog.VerifyType verifyType, boolean yesOrNo, Long orderId);

	Group getValid(Long userId, Long groupId);

	void removeGroup(Long groupId);

	Messager<String> sendGroupExpireTip(Long userid);

	Messager<String> adminChangeOwner(Long groupId, Long userId, Integer number);

	Messager<String> updateGroupMaxCount(Long userId, Integer maxCount);

	void updateVipStateVipBlock(Long userId);

	void customStatisticalAndUpdate(Long groupId, Integer totalCoin, int type);

}
